/*
 * @Author: ZhanXie
 * @Date: 2019-11-06 18:44:56
 * @LastEditors: ZhanXie
 * @LastEditTime: 2019-11-08 19:18:46
 * @Description: 路由入口,用作热更新
 * @FilePath: /webpack-cli/src/app.jsx
 */
import React, { Component } from 'react';
import { withRouter } from 'react-router';
import { hot } from 'react-hot-loader/root';
import Routes from './containers';

@hot
@withRouter
class App extends Component {
  render() {
    return (
      <div id="app">
        <Routes />
      </div>
    );
  }
}

export default App;
